<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>星辰博客 | 现代个人博客</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap" rel="stylesheet">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        :root {
            --primary: #6366f1;
            --primary-light: #818cf8;
            --secondary: #f472b6;
            --dark: #1e293b;
            --light: #f8fafc;
            --gray: #94a3b8;
            --card-bg: rgba(255, 255, 255, 0.75);
            --transition: all 0.3s ease;
        }
        
        body {
            font-family: 'Inter', 'Poppins', sans-serif;
            background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
            color: var(--dark);
            min-height: 100vh;
            padding: 20px;
            background-attachment: fixed;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        /* 顶部导航栏 */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 30px;
            background: var(--card-bg);
            border-radius: 24px;
            margin-bottom: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.5);
        }
        
        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .logo span {
            color: var(--secondary);
        }
        
        .nav-links {
            display: flex;
            gap: 30px;
        }
        
        .nav-links a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
            padding: 8px 16px;
            border-radius: 50px;
            transition: var(--transition);
        }
        
        .nav-links a:hover, .nav-links a.active {
            background: var(--primary-light);
            color: white;
        }
        
        /* 个人简介区域 */
        .hero {
            display: flex;
            gap: 40px;
            margin-bottom: 50px;
        }
        
        .profile-card {
            flex: 1;
            background: var(--card-bg);
            border-radius: 28px;
            padding: 40px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.5);
        }
        
        .avatar {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid white;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            margin-bottom: 25px;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
        }
        
        .profile-card h1 {
            font-size: 2.5rem;
            margin-bottom: 10px;
            color: var(--dark);
        }
        
        .profile-card h2 {
            font-size: 1.2rem;
            font-weight: 400;
            color: var(--primary);
            margin-bottom: 25px;
        }
        
        .social-icons {
            display: flex;
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .social-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            color: var(--primary);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
            cursor: pointer;
        }
        
        .social-icon:hover {
            transform: translateY(-5px);
            background: var(--primary);
            color: white;
        }
        
        .btn {
            padding: 14px 32px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
        }
        
        .btn:hover {
            background: var(--primary-light);
            transform: translateY(-3px);
        }
        
        /* 博客内容区域 */
        .section-title {
            font-size: 2rem;
            margin-bottom: 30px;
            position: relative;
            padding-bottom: 15px;
            color: var(--dark);
        }
        
        .section-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 4px;
            background: var(--primary);
            border-radius: 2px;
        }
        
        .blog-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 50px;
        }
        
        .blog-card {
            background: var(--card-bg);
            border-radius: 24px;
            overflow: hidden;
            transition: var(--transition);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.5);
        }
        
        .blog-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        }
        
        .card-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }
        
        .card-content {
            padding: 25px;
        }
        
        .card-tag {
            display: inline-block;
            background: var(--primary-light);
            color: white;
            padding: 5px 15px;
            border-radius: 50px;
            font-size: 0.8rem;
            margin-bottom: 15px;
        }
        
        .card-title {
            font-size: 1.4rem;
            margin-bottom: 12px;
            color: var(--dark);
        }
        
        .card-excerpt {
            color: var(--gray);
            margin-bottom: 20px;
            line-height: 1.6;
        }
        
        .card-meta {
            display: flex;
            justify-content: space-between;
            color: var(--gray);
            font-size: 0.9rem;
        }
        
        /* 页脚 */
        .footer {
            text-align: center;
            padding: 30px;
            background: var(--card-bg);
            border-radius: 24px;
            margin-top: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.5);
        }
        
        .footer p {
            color: var(--gray);
        }
        
        /* 响应式设计 */
        @media (max-width: 900px) {
            .hero {
                flex-direction: column;
            }
            
            .navbar {
                flex-direction: column;
                gap: 20px;
                padding: 20px;
            }
            
            .nav-links {
                flex-wrap: wrap;
                justify-content: center;
            }
        }
        
        @media (max-width: 600px) {
            .blog-container {
                grid-template-columns: 1fr;
            }
            
            .profile-card {
                padding: 30px 20px;
            }
        }
    </style>
</head>
<body>
    <div id="app">
        <div class="container">
            <!-- 导航栏 -->
            <nav class="navbar">
                <a href="#" class="logo">
                    <i class="fas fa-blog"></i>
                    <span>星辰</span>博客
                </a>
                <div class="nav-links">
                    <a href="#" class="active">首页</a>
                    <a href="#">文章</a>
                    <a href="#">项目</a>
                    <a href="#">关于</a>
                    <a href="#">联系</a>
                </div>
            </nav>
            
            <!-- 个人简介区域 -->
            <section class="hero">
                <div class="profile-card">
                    <div class="avatar"></div>
                    <h1>张星辰</h1>
                    <h2>前端开发工程师 & 技术博主</h2>
                    <p>热爱编程、设计和分享技术知识，专注于现代Web开发技术。</p>
                    
                    <div class="social-icons">
                        <div class="social-icon">
                            <i class="fab fa-github"></i>
                        </div>
                        <div class="social-icon">
                            <i class="fab fa-twitter"></i>
                        </div>
                        <div class="social-icon">
                            <i class="fab fa-linkedin-in"></i>
                        </div>
                        <div class="social-icon">
                            <i class="fab fa-instagram"></i>
                        </div>
                    </div>
                    
                    <button class="btn">联系我</button>
                </div>
            </section>
            
            <!-- 博客文章区域 -->
            <section>
                <h2 class="section-title">最新文章</h2>
                <div class="blog-container">
                    <!-- 博客文章卡片 -->
                    <div class="blog-card" v-for="post in posts" :key="post.id">
                        <div class="card-img" :style="{ background: post.color }"></div>
                        <div class="card-content">
                            <span class="card-tag">{{ post.tag }}</span>
                            <h3 class="card-title">{{ post.title }}</h3>
                            <p class="card-excerpt">{{ post.excerpt }}</p>
                            <div class="card-meta">
                                <span><i class="far fa-calendar"></i> {{ post.date }}</span>
                                <span><i class="far fa-clock"></i> {{ post.readTime }} 分钟阅读</span>
                            </div>
                        </div>
                    </div>
                </div>
            </section>
            
            <!-- 页脚 -->
            <footer class="footer">
                <p>© 2023 星辰博客 | 用代码书写人生，用技术创造价值</p>
            </footer>
        </div>
    </div>

    <script>
        new Vue({
            el: '#app',
            data: {
                posts: [
                    {
                        id: 1,
                        title: 'Vue3 组合式 API 最佳实践',
                        excerpt: '探索 Vue3 组合式 API 的强大功能及其在实际项目中的应用技巧。',
                        tag: 'Vue.js',
                        date: '2023-10-15',
                        readTime: 8,
                        color: 'linear-gradient(45deg, #a78bfa, #c084fc)'
                    },
                    {
                        id: 2,
                        title: 'CSS 现代布局技术全解析',
                        excerpt: '深入了解 Flexbox、Grid 和容器查询等现代 CSS 布局技术的使用。',
                        tag: 'CSS',
                        date: '2023-10-10',
                        readTime: 12,
                        color: 'linear-gradient(45deg, #fbcfe8, #f9a8d4)'
                    },
                    {
                        id: 3,
                        title: 'JavaScript 性能优化指南',
                        excerpt: '提升 JavaScript 应用性能的实用技巧和最佳实践。',
                        tag: 'JavaScript',
                        date: '2023-10-05',
                        readTime: 10,
                        color: 'linear-gradient(45deg, #93c5fd, #60a5fa)'
                    },
                    {
                        id: 4,
                        title: '响应式设计深度解析',
                        excerpt: '掌握响应式设计的核心原则，创建适应各种设备的完美用户体验。',
                        tag: '设计',
                        date: '2023-10-01',
                        readTime: 6,
                        color: 'linear-gradient(45deg, #86efac, #4ade80)'
                    },
                    {
                        id: 5,
                        title: 'TypeScript 高级类型技巧',
                        excerpt: '探索 TypeScript 的高级类型系统和类型操作，提升代码质量。',
                        tag: 'TypeScript',
                        date: '2023-09-28',
                        readTime: 9,
                        color: 'linear-gradient(45deg, #fda4af, #f87171)'
                    },
                    {
                        id: 6,
                        title: '现代前端构建工具比较',
                        excerpt: '对比 Webpack、Vite、Rollup 和 Parcel 等现代前端构建工具。',
                        tag: '工具',
                        date: '2023-09-25',
                        readTime: 11,
                        color: 'linear-gradient(45deg, #fcd34d, #fbbf24)'
                    }
                ]
            }
        });
    </script>
</body>
</html>